package org.ww.edu.mapper;

import org.ww.edu.bean.Course;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.ww.edu.bean.frontvo.CourseWebVo;
import org.ww.edu.bean.vo.CoursePublishVo;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author ww
 * @since 2020-10-23
 */
public interface CourseMapper extends BaseMapper<Course> {
    //发布信息获取
    CoursePublishVo getCoursePublishInfo(String courseId);
    //根据课程id查询课程详细信息
    CourseWebVo getBaseCourseInfo(String courseId);
}
